package remato.common.domain.property;

import java.net.URL;
import java.util.Date;

import remato.domain.common.Stakeholder;

public enum PropertyTypeEnumImpl implements PropertyTypeEnum {
	STRING (String.class)
	,
	TEXT(String.class)
	,
	URL(URL.class)
	,
	INTEGER(Long.class)
	,
	DOUBLE(Double.class)
	,
	BOOLEAN(Boolean.class)
	,
	DATE(Date.class)
//	,
//	STAKEHOLDER(Stakeholder.class)
//	,
//	REQUIREMENT(Requirement.class) // if implemented, then it should be 'REQUIREMENT_COLLECTION(Set.class)'
	;
	
	private Class javaClass;
	
	private PropertyTypeEnumImpl(Class javaClass){
		this.javaClass = javaClass;
	}

	public Class getType() {
		return javaClass;
	}

}
